<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

  <c:import url="/view/include/header.jsp"/>
  <!-- end-->
  <div id="container_2">
    <dl class="top_img">
      <dd class="top_visuall_title">
        <p class="top_visuall_txt"><img src="/images/common/sub_titleimg_1.gif" alt="현대엘리베이터는 공정하고 투명한 기업문화 조성을 위해 상생의 경영방식을 추구합니다." width="497" height="64"/><a href="file:///C|/Users/ecg-youn/Downloads/noticeDetail.jsp"></a></p>
        <p class="top_visuall_txt_2"><img src="/images/common/sub_titleimg_2.gif" alt="" width="404" height="109"/></p>
      </dd>
    </dl>
    <div class="content"> 
      <!-- include start-->
      <s:if test="%{boardView.board_code.equals('BD201')}"><c:import url="/view/include/ethicLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD202')}"><c:import url="/view/include/complianceLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD203')}"><c:import url="/view/include/fairTradeLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD204')}"><c:import url="/view/include/workLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD501')}"><c:import url="/view/include/workLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD502')}"><c:import url="/view/include/workLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD503')}"><c:import url="/view/include/workLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD205')}"><c:import url="/view/include/workLeft.jsp"/></s:if>
      <s:if test="%{boardView.board_code.equals('BD206')}"><c:import url="/view/include/workLeft.jsp"/></s:if>
      <!-- end-->
      <div class="sub_content">
        <dl class="ethic_title">
          <dd class="location"><img src="/images/common/home_img.gif" alt="집" width="15" height="15"/></dd>
          <dd class="location_txt">
          	<s:if test="%{boardView.board_code.equals('BD201')}">HOME > 윤리경영 > 윤리경영 Q&amp;A</s:if>
          	<s:if test="%{boardView.board_code.equals('BD202')}">HOME > 준법지원 > 준법지원 Q&amp;A</s:if>
          	<s:if test="%{boardView.board_code.equals('BD203')}">HOME > 공정거래 > 공정거래 Q&amp;A</s:if>
          	<s:if test="%{boardView.board_code.equals('BD204')}">HOME > 업무지원 > 업무지원 Q&amp;A</s:if>
          	<s:if test="%{boardView.board_code.equals('BD501')}">HOME > 업무지원 > 영업부분 > 영업 사례해설 Q&amp;A</s:if>
          	<s:if test="%{boardView.board_code.equals('BD502')}">HOME > 업무지원 > 설치부문 > 설치 사례해설 Q&amp;A</s:if>
          	<s:if test="%{boardView.board_code.equals('BD503')}">HOME > 업무지원 > 서비스 부문 > 서비스 사례해설 Q&amp;A</s:if>
          	<s:if test="%{boardView.board_code.equals('BD205')}">HOME > 업무지원 > 법률자문요청</s:if>
          	<s:if test="%{boardView.board_code.equals('BD206')}">HOME > 업무지원 > 소송개시요청</s:if>
          </dd>
        </dl>
        <dl class="img_ethic_box">
          <dd class="img_ethic">
          	<s:if test="%{boardView.board_code.equals('BD201')}"><img src="/images/ethic/ET_qna.gif" alt="윤리경영 Q&amp;A" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD202')}"><img src="/images/compliance/CP_qna.gif" alt="준법지원 Q&amp;A" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD203')}"><img src="/images/fairTrade/JT_qna.gif" alt="공정거래 Q&amp;A" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD204')}"><img src="/images/work/SP_qna.gif" alt="업무지원 Q&amp;A" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD501')}"><img src="/images/work/SP_business.gif" alt="영업사례해설 Q&amp;A" width="200" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD502')}"><img src="/images/work/SP_installation.gif" alt="설치사례해설 Q&amp;A" width="200" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD503')}"><img src="/images/work/SP_Service_part.gif" alt="서비스사례해설 Q&amp;A" width="200" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD205')}"><img src="/images/work/SP_law.gif" alt="법률자문요청" width="166" height="23"/></s:if>
         	<s:if test="%{boardView.board_code.equals('BD206')}"><img src="/images/work/SP_litigation.gif" alt="소송개시요청" width="166" height="23"/></s:if>
          </dd>
        </dl>
        <dl class="img_ethic_box_2">
          <dd class="img_ethic">
          	<s:if test="%{boardView.board_code.equals('BD201')}"><!-- <img src="/images/ethic/ET_title_3.gif" alt="윤리경영 관한 각종 자료모음입니다." width="421" height="26"/> --></s:if>
          	<s:if test="%{boardView.board_code.equals('BD202')}"><!-- <img src="/images/compliance/CP_title_2.gif" alt="준법지원에 관한 궁금사항을 질문하고 답변을 확인할 수 있는 공간입니다." width="460" height="16"/> --></s:if>
          	<s:if test="%{boardView.board_code.equals('BD203')}"><!-- <img src="/images/fairTrade/JT_title_2.gif" alt="공정거래에 관한 궁금사항을 질문하고 답변을 확인할 수 있는 공간입니다." width="460" height="16"/> --></s:if>
          	<s:if test="%{boardView.board_code.equals('BD204')}"><!-- <img src="/images/work/SP_title_2.gif" alt="업무지원에 관한 궁금사항을 질문하고 답변을 확인할 수 있는 공간입니다" width="639" height="16"/> --></s:if>
          	<s:if test="%{boardView.board_code.equals('BD205')}"><!-- <img src="/images/work/SP_title_5.gif" alt="법률자문요청에 관한 각종 자료모음입니다." width="639" height="16"/> --></s:if>
          	<s:if test="%{boardView.board_code.equals('BD206')}"><!-- <img src="/images/work/SP_title_4.gif" alt="소송에관한 궁금사항을 질문하고 답변을 확인할 수 있는 공간입니다." width="639" height="16"/> --></s:if>
          </dd>
        </dl>
        <!-- table 코딩 -->
        <dl class="qna_box">
          <dd>
            <table cellspacing="0" cellpadding="0" summary="" class="read">
              <caption></caption>
              <rowgroup>
                <row width="">
                <row width="146px" >
              </rowgroup>
              <thead>
                <tr>
                  <th scope="row" colspan="2">${boardView.title }</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td class="td3" scope="row" style="width:493px">${boardView.mem_name }</td>
                  <td scope="row" style="width:163px" >
                  <span class="f_gray8"><strong>작성일 │ 
                  		<c:choose>
		            		<c:when test="${boardView.write_time.length() > 10}">${boardView.write_time.substring(0,10)}</c:when>
		            		<c:otherwise>${boardView.write_time}</c:otherwise>
		           		</c:choose>
                  	</strong></span>
                  </td>
                </tr>
                <tr>
                  <td colspan="2" class="td2">${boardView.content }</td>
                </tr>
                <tr>
                  <td class="qna_btn" colspan="2">
                  	<span class="f_gray9"><strong>첨부</strong>: 
                  <a href="/board/fileDownload.hcom?board_seq=${boardView.board_seq }&save_type=board&attach_seq=${fileView.attach_seq1}">
                   ${fileView.file_name1}</span>
                  </a>
                  <a href="/board/fileDownload.hcom?board_seq=${boardView.board_seq }&save_type=board&attach_seq=${fileView.attach_seq2}">
                  ${fileView.file_name2}</a>
                   <a href="/board/fileDownload.hcom?board_seq=${boardView.board_seq }&save_type=board&attach_seq=${fileView.attach_seq3}">
                  ${fileView.file_name3}</a>                  	
                  </td>
                </tr>
              </tbody>
            </table>
          </dd>
          <dd class="height20">&nbsp;</dd>
          <c:if test="${boardView.answer_flag == 'Y' }">
          <dd>
            <table cellspacing="0" cellpadding="0" summary="" class="read">
              <caption>
              </caption>
              <rowgroup>
                <row width="">
                <row width="" >
              </rowgroup>
              <thead>
                <tr>
                  <th scope="col" colspan="2" class="read_th2"><span class="r_left"><img src="/images/common/btn_5.png" alt="" width="43" height="17"/></span>답변드립니다.</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td scope="row"  style="width:493px" class="td3">운영자</td>
                  <td scope="row" style="width:163px" ><strong>작성일 │ 
                  	<c:choose>
		            		<c:when test="${boardView.answer_write_time.length() > 10}">${boardView.answer_write_time.substring(0,10)}</c:when>
		            		<c:otherwise>${boardView.answer_write_time}</c:otherwise>
		           	</c:choose>
                  	</strong>
                  </td>
                </tr>
                <tr>
                  <td colspan="2" class="td2">${boardView.answer_content }</td>
                </tr>
                <tr>
                  <td colspan="2"><span class="f_gray9"><strong>첨부</strong> : 
                  	<a href="/board/fileoneDownload.hcom?board_seq=${boardView.board_seq }&save_type=answer">${answerFile.file_name}</a></span>
                  </td>
                </tr>
              </tbody>
            </table>
          </dd>
          </c:if>
          <!-- table end-->
          <dd class="W_right_2">
           	<s:if test="%{boardView.mem_name.equals(#session.name)}">
          		<c:if test="${boardView.answer_flag.equals('N') }">
          			<a href="/board/qnaModifyForm.hcom?board_seq=${boardView.board_seq }&save_type=board"><img src="/images/common/btn_1.gif" width="70" height="25" alt="수정" /></a>&nbsp;&nbsp;
          		</c:if>
          	</s:if>
          	<a href="/board/qnaList.hcom?board_code=${boardView.board_code }"><img src="/images/common/btn_4.gif" alt="목록"/></a></dd>
          <dd class="height20">&nbsp;</dd>
          <dd class="height20">&nbsp;</dd>
        </dl>
      </div>
    </div>
  </div>
</div>
<!-- contanier end-->
</div>
<!-- footer start-->
<c:import url="/view/include/footer.jsp"/>

